package com.yibo.feign;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.core.ParameterizedTypeReference;
import org.springframework.http.HttpMethod;

/**
 * restTemplate请求实体
 *
 * @author zhanglei
 */
@Getter
@Setter
@Accessors(chain = true)
public class RestModel<T> extends ParameterizedTypeReference<T> {

    private String url;

    private HttpMethod httpMethod;

    private Object data;
}
